#include <stdio.h>

//控制霓虹灯
//位数
struct B
{
    unsigned char a1 : 1;
    unsigned char a2 : 1;
    unsigned char a3 : 1;
    unsigned char a4 : 1;
    unsigned char a5 : 1;
    unsigned char a6 : 1;
    unsigned char a7 : 1;
    unsigned char a8 : 1;
};


int main()
{
    struct B b;
    printf("%lu\n", sizeof(b));
    b.a1 = 1;
    b.a2 = 0;
    b.a3 = 1;
    b.a4 = 0;
    b.a5 = 1;
    b.a6 = 0;
    b.a7 = 1;
    b.a8 = 0;
}
